import request from '@/utils/request'


export function createVipCardOrder(params) {  // 创建订单号
  return request({
    url: 'wxpublic4bjxc/vipcard/createVipCardOrder',
    method: 'post',
    data: params
  })
}


export function aliPay(params) {  // 支付宝
  return request({
    url: 'alipay/aliH5Pay',
    method: 'post',
    data: params
  })
}


export function getOpenId(params) {  // 获取OpenId
  return request({
    url: 'weixinPublicPay/getOpenIdByCode',
    method: 'post',
    data: params
  })
}

export function vxPayQuery(params) {  // 微信
  return request({
    url: 'weixinpay/publicUnifiedOrder',
    method: 'post',
    data: params
  })
}


export function bankH5Pay(params) {  // 农行
  return request({
    url: 'abcBankPay/bankPayForH5',
    method: 'post',
    data: params
  })
}






